import request from "@/plugins/axios";
// 广告列表
export function listApi(data) {
  return request({
    url: "/shop/pics/index",
    method: "post",
    data,
  });
}
// 广告添加
export function addApi(data) {
  return request({
    url: "/shop/pics/create",
    method: "post",
    data,
  });
}
// 广告修改
export function saveApi(data) {
  return request({
    url: "/shop/pics/save",
    method: "post",
    data,
  });
}
// 广告删除
export function delApi(data) {
  return request({
    url: "/shop/pics/delete",
    method: "post",
    data,
  });
}
// 广告位数据
export function positionsApi() {
  return request({
    url: "/shop/pics/positions",
  });
}
